package org.crazyit.cloud;

import feign.Feign;
import feign.gson.GsonDecoder;

public class PersonMain {

	public static void main(String[] args) {
		HelloClient client = Feign.builder().decoder(new GsonDecoder())
				.target(HelloClient.class,
				"http://localhost:8081");
//		Person p = (Person)client.getPerson(1);
		System.out.println(client.getPerson(1));
	}

}
